import request from '@/utils/request'

// 查询积分日志列表
export function listVideoPointsLogs(query) {
  return request({
    url: '/points/VideoPointsLogs/list',
    method: 'get',
    params: query
  })
}

// 查询积分日志详细
export function getVideoPointsLogs(id) {
  return request({
    url: '/points/VideoPointsLogs/' + id,
    method: 'get'
  })
}

// 新增积分日志
export function addVideoPointsLogs(data) {
  return request({
    url: '/points/VideoPointsLogs',
    method: 'post',
    data: data
  })
}

// 修改积分日志
export function updateVideoPointsLogs(data) {
  return request({
    url: '/points/VideoPointsLogs',
    method: 'put',
    data: data
  })
}

// 删除积分日志
export function delVideoPointsLogs(id) {
  return request({
    url: '/points/VideoPointsLogs/' + id,
    method: 'delete'
  })
}
